package com.study.system.entity;


import java.util.List;

public class CourseSection {

  private long id;
  private long courseId;
  private String sectionName;
  private String description;
  private java.sql.Timestamp createTime;
  private java.sql.Timestamp updateTime;
  private long orderNum;
  private long status;
  //多个小节
  private List<CourseLesson> courseLessons;

  public List<CourseLesson> getCourseLessons() {
    return courseLessons;
  }

  public void setCourseLessons(List<CourseLesson> courseLessons) {
    this.courseLessons = courseLessons;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public long getCourseId() {
    return courseId;
  }

  public void setCourseId(long courseId) {
    this.courseId = courseId;
  }


  public String getSectionName() {
    return sectionName;
  }

  public void setSectionName(String sectionName) {
    this.sectionName = sectionName;
  }


  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }


  public java.sql.Timestamp getCreateTime() {
    return createTime;
  }

  public void setCreateTime(java.sql.Timestamp createTime) {
    this.createTime = createTime;
  }


  public java.sql.Timestamp getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(java.sql.Timestamp updateTime) {
    this.updateTime = updateTime;
  }


  public long getOrderNum() {
    return orderNum;
  }

  public void setOrderNum(long orderNum) {
    this.orderNum = orderNum;
  }


  public long getStatus() {
    return status;
  }

  public void setStatus(long status) {
    this.status = status;
  }

  @Override
  public String toString() {
    return "CourseSection{" +
            "id=" + id +
            ", courseId=" + courseId +
            ", sectionName='" + sectionName + '\'' +
            ", description='" + description + '\'' +
            ", createTime=" + createTime +
            ", updateTime=" + updateTime +
            ", orderNum=" + orderNum +
            ", status=" + status +
            ", courseLessons=" + courseLessons +
            '}';
  }
}
